<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>网利友联登录首页</title>
   <style type="text/css">
	img {
		border: 0px;
	}
	
	body {
		margin: 0px;
		padding: 0 0 0 0;
		color: #333;
		font-size: 14px;
		line-height: 18px;
	}
	
	div {
		overflow: visible;
	}
	
	.main {
		margin: 0 auto;
		width: 1000px;
		height: 580px;
	}
	
	.logo {
		float: left;
		width: 285px;
		padding: 50px 0 0 183px;
	}
	
	.login {
		width: 366px;
		float: left;
	}
	
	.product_version {
		padding: 10px 0 7px 0;
		color: #006599;
		font-size: 14px;
		font-weight: bold;
	}
	
	.login_form {
		width: 366px;
		padding: 12px 0 10px 10px;
		border-width: 1px;
		border-style: solid;
	}
	
	.login .input1 {
		width: 184px;
		height: 24px;
		margin: 0px 0 0 0;
		padding: 5px 0 0 2px;
		border: 0;
		vertical-align: middle;
		font-size: 12px;
		line-height: 12px;
	}
	
	.login .input2 {
		width: 65px;
		height: 25px;
		margin: 3px 0 7px 25px;
		padding: 2px 0 0 0;
		border: 0;
		vertical-align: middle;
		color: #fff;
		font-size: 14px;
		font-weight: bold;
	}
	
	.login .input3 {
		width: 65px;
		height: 25px;
		margin: 3px 0 7px 25px;
		padding: 2px 0 0 0;
		border: 0;
		vertical-align: middle;
		color: #000;
		font-size: 14px;
		font-weight: bold;
	}
	
	.brower_hint {
		padding: 10px 0 0 0;
		font-size: 12px;
		color: #006599;
	}
	.tab{
	 border-collapse:collapse;
	 position:absolute;
	 top:50%;
	 left:32%;
	 margin:-320px 0 0 -400px;
	}
	</style>
	<link rel="stylesheet" type="text/css" href="css/default.css" /> 

  </head>
  <body class="bg_img_bodybg1">
		<div class="main" style="overflow: hidden;width:100%">
		   <br/>
			<div style="height: 30%; width: 100%">
			     <table align="center">
				    <tr>
					   <td>&nbsp;</td>
					</tr>
					<tr>
					   <td>&nbsp;</td>
					</tr>
				    <tr>
					  <td><FONT SIZE="50"><span>网利友联工时管理系统</span></FONT></td>
					</tr>
				</table>
			</div>
			<br/>
			
			<div class="login" id="login" style="margin-left:35%" width="80">
			    
		<div class="border_color_common login_form bg_img_loginform">
			<font size=2 color=red></font>
			<form action="login.action" method="post">
				<table>
					<tr>
						<td>
							<c:choose>
								<c:when test="${err == -1}">
									<span style="color:red">用户名或密码错误！</span><br/>
								</c:when>
							</c:choose>
							<s:actionerror/>
							用户名:
							<input type="text" name="user.username" id="username" class="input1 bg_img_inputbg1" />
							
							<br>
							密&nbsp;&nbsp;&nbsp;&nbsp;码:
							<input type="password" id="password" name="user.password" class="input1 bg_img_inputbg1" value="" />
							<span style="display: none; color: red;"><br>大写开启</span>
						</td>
						<td>
							<input type="submit" value="登录" class="input2 bg_img_inputbg2" />
							<br>
							<input type="reset" value="重置" class="input3 bg_img_inputbg3" />
						</td>
					</tr>
				</table>
			</form>
		</div>
		<script type="text/javascript">
			
		
			
		</script>
	</body>
</html>
